package com.fr.data.core.db;

public class YearDate
{
  private String year;

  public YearDate(String paramString)
  {
    this.year = paramString;
  }

  public YearDate(java.util.Date paramDate)
  {
    this.year = String.valueOf(paramDate.getYear() + 1900);
  }

  public YearDate(java.sql.Date paramDate)
  {
    this.year = String.valueOf(paramDate.getYear() + 1900);
  }

  public String toString()
  {
    return this.year;
  }
}